import Sequelize from 'sequelize'
import sequelize from './../database'

const Beifen = sequelize.define('',{
    id:{
        type: Sequelize.UUIDV4,
        defaultValue: Sequelize.UUIDV4,
        unique: true,
        allowNull: false,
        primaryKey:true
    },
    memo: {
        type: Sequelize.STRING
    },
    status: {
        type: Sequelize.INTEGER,
        defaultValue: 0,
        allowNull: false
    },
    created_man: {
        type: Sequelize.STRING,
        allowNull: false
    }
},{
    tableName: '',
    updatedAt:'updated_at',
    createdAt:'created_at'
})